package com.imooc.utils;

import java.lang.reflect.Method;

/**
 * Created by joe on 17-3-25.
 */
public class MainTest {

  public static void main(String[] args) throws Exception {

    Proxy target  = new Proxy();
    Method method = Proxy.class.getDeclaredMethod("run");
    method.invoke(target);
  }
}


class Proxy{

  private String name;

  private String haha;


  public void run(){
    System.out.println(132);
  }
}